Skip to content

Conversation

@mlimaloureiro
Copy link

@mlimaloureiro mlimaloureiro commented Apr 24, 2017

I was not being able to increase write capacity when using -c with --overwrite. This pr fix this issue.

Tested against mid size tables, working fine

@mlimaloureiro mlimaloureiro changed the title Increase capacity Increase write capacity with --overwrite Apr 24, 2017
return this.emit('error', 'Fatal Error. Failed to update table. ' + error);
}
}).bind(this));
setTimeout(dynamodb.describeTable.bind(dynamodb, { TableName: this.options.table }, this._checkTableReady.bind(this)), 1000);
Copy link
Contributor

@sdesalas sdesalas Apr 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I would have moved the dynamodb.describeTable() call inside .updateTable() callback but it should work the same either way. 👍

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it's working, would also work the same way. Do you want me to change?

Copy link
Contributor

@sdesalas sdesalas Apr 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I think its fine dude. All good. 👍

Only downer might be that the repo owner has somehow lost access, and I dont have write access to merge these changes myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants